package com.hctrl.mybatis.service;

import com.hctrl.mybatis.entity.UserDO;

import java.util.List;
import java.util.Map;

public interface UserService {

    /**
     * 通过id, 查找用户
     * @param id
     * @return
     */
    UserDO selectById(Long id);

    List<UserDO> selectBySex(String sex);

    List<UserDO> selectByCondition(String name,Integer age);

    UserDO selectByMap(UserDO userDO);

}
